package com.yumeng.webapp.auth;

import com.yumeng.common.auth.BaseAuthHelper;
import com.yumeng.common.auth.BaseAuthInfo;

/**
 * @author wxd
 * @date 2025/3/26 20:32
 */
public class AuthHelper {

    public static BaseAuthInfo getBaseAuthInfo(){
        return BaseAuthHelper.getCurrAuthInfo();
    }

    public static CurrAuthInfo getCurrAuthInfo(){
        BaseAuthInfo baseAuthInfo = BaseAuthHelper.getCurrAuthInfo();
        return new CurrAuthInfo(baseAuthInfo);
    }
}
